package com.dlg.user.rpc.api.user;

import com.dlg.user.rpc.api.vo.user.UserSuggestionRpcVo;
import com.dlg.commons.util.PageResult;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/**
 * Created by zebon lu on 2017/5/10.
 * 用户反馈
 */
public interface IUserSuggestionRpcService extends Serializable {


    /**
     * 添加用户反馈
     * @param userSuggestionRpcVo
     * @return
     */
    void addUserSuggestion(UserSuggestionRpcVo userSuggestionRpcVo, String file);
    
    /**
     * 查询与用户反馈
     * @param originSystem
     * @param startTime
     * @param endTime
     * @param size
     * @param userSuggestionRpcVo
     * @param minId 
     * @return
     */
    PageResult<UserSuggestionRpcVo> query(Short originSystem, Date startTime, Date endTime, int size, UserSuggestionRpcVo userSuggestionRpcVo, BigInteger minId, int pageNumber);
}
